package com.dadaguai.constants;

public class CaptchaConstants {
    /**
     * 图片验证码
     */
    public static final Integer IMG_CODE = 0;
    /**
     * 邮箱验证码
     */
    public static final Integer EMAIL_CODE = 1;
    /**
     * 邮箱验证码类型：注册/登录
     */
    public static final Integer TYPE_REGISTER = 0;
    /**
     * 邮箱验证码类型：修改密码
     */
    public static final Integer TYPE_CHANGE_PASSWORD = 1;
    /**
     * redis 图片验证码key
     */
    public static final String IMG_CODE_KEY = "captcha:imgCode:";
    /**
     * redis邮箱验证码key
     */
    public static final String EMAIL_CODE_KEY = "captcha:emailCode:";



}
